﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;

namespace DSAClient.Models.Input
{
    public class ImageInfo : ICloneable
    {
        /// <summary>
        /// 图片是否裁剪
        /// </summary>
        public bool IsCut { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public Image Img { get; set; }
        /// <summary>
        /// 图片文件路径
        /// </summary>
        public string ImgPath { get; set; }
        /// <summary>
        /// 图片份数
        /// </summary>
        public int ImgNum { get; set; }
        /// <summary>
        /// 矩形裁剪框左上角坐标位置
        /// </summary>
        public Point RectPoint { get; set; }
        /// <summary>
        /// 矩形裁剪框
        /// </summary>
        public Rectangle Rect { get; set; }
        /// <summary>
        /// 是否显示打开图片按钮
        /// </summary>
        public bool IsOpenPic { get; set; }
        /// <summary>
        /// 图片框大小
        /// </summary>
        public Size PicSize { get; set; }
        /// <summary>
        /// 是否移动
        /// </summary>
        public bool CanMove { get; set; }
        /// <summary>
        /// 文件路径
        /// </summary>
        public string filepath { get; set; }
        //旋转次数
        public int RotateNum { get; set; }
        public object Clone()
        {
            return base.MemberwiseClone();
        }
    }
}
